package cn.tedu.zx.ams.adapter.mapper;


import cn.tedu.zx.pojo.admin.entity.AdminRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;


@Repository
public interface AdminRoleMapper extends BaseMapper<AdminRole> {

    int deleteByAdminId(Long id);

    int deleteByRoleId(Long id);

    String countAdminIdByRoleId(Long id);
}
